Skip to content

Conversation

GUMUNYEONG
Copy link
Contributor

@GUMUNYEONG GUMUNYEONG commented Sep 14, 2024

답안 제출 문제

  • Best Time to Buy And Sell Stock

체크 리스트

  • PR을 프로젝트에 추가하고 Week를 현재 주차로 설정해주세요.
  • 바로 앞에 PR을 열어주신 분을 코드 검토자로 지정해주세요.
  • 문제를 모두 푸시면 프로젝트에서 Status를 In Review로 설정해주세요.
  • [] 코드 검토자 1분 이상으로부터 승인을 받으셨다면 PR을 병합해주세요.

@GUMUNYEONG GUMUNYEONG requested a review from seona926 September 14, 2024 06:25
@github-actions github-actions bot added the js label Sep 14, 2024
@GUMUNYEONG GUMUNYEONG marked this pull request as ready for review September 14, 2024 06:25
@GUMUNYEONG GUMUNYEONG requested a review from a team as a code owner September 14, 2024 06:25
Copy link
Member

@DaleSeo DaleSeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다.

return max;
};

// TC : O(n^2);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

알고리즘 성능이 너무 떨어져서 LeetCode에 답안을 제출하면 시간 제한 초과에 걸릴 것 같네요. Brute-force한 방법으로 풀어보셨으니 나중에 시간 되실 때 좀 더 효율적인 알고리즘도 고민해보시면 좋을 것 같습니다.

@GUMUNYEONG GUMUNYEONG merged commit 3550e26 into DaleStudy:main Sep 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

2 participants